:root {
	--primary: #3A7ef0;
	--bg-page: #f5f7fa;
	--bg-gray: #f2f6f9;
	--bg-title-bar: white;
	--white: white;
	--font-size-large: 1.6rem;
	--font-size-primary: 1.4rem;
	--font-size-small: 1.2rem;
	--com-margin: 1.4rem;
	--gap: 1.2rem;
	--gray: #95a5a6;
	--com-border-radius: 0.8rem;
	--color-primary: #333;
	--color-second: #666;
	--color-third: #999;
	--category-tab-active-bg: white;
	--category-tab-radius: 10px;
	--category-tab-border-left: 4px;
	--bg-fragment: linear-gradient(to bottom, #feffff, #f2f6f9);
	--light: #f8f9fa;
	--dark: #343a40;
	--success: #2ecc71;
	--danger: #e74c3c;
}

html,
body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: 10px;
	scrollbar-width: none;
	scrollbar-color: transparent transparent;
}

button,
input {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	outline: none;
	border: none;
	text-align: center;
}

html * {
	outline: 0;
	-webkit-text-size-adjust: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

* {
	margin: 0;
	padding: 0;
}

.page {
	width: 100wh;
	height: 100vh;
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--bg-page);
	font-size: var(--font-size-primary);
}

.content {
	flex: 1;
	width: 100wh;
	overflow-y: auto;
}

.router-container {
	flex: 1;
	width: 100wh;
	overflow: hidden;
}

.fragment {
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
}

iframe {
	border: none;
	width: 100%;
	/* takes precedence over the width set with the HTML width attribute */
}

.row {
	display: flex;
	flex-direction: row;
}

.row-center {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.col {
	display: flex;
	flex-direction: column;
}

.title-bar {
	background: var(--bg-title-bar);
	padding: var(--gap);
	display: flex;
	align-items: center;

	.title {
		font-size: 1.6rem;
		font-weight: bold;
	}
}

.title-bar .input {
	border-radius: calc(var(--gap) * 3);
	background: var(--bg-page);
	flex: 1;
	font-size: var(--font-size-primary);
	outline: none;
	border-style: none;
	padding: 1rem;
}

/**
 * 最多2行文本，内容超出省略号
 */
.text-mline {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.m-l-10 {
	margin-left: var(--gap);
}

.m-t-10 {
	margin-top: 1rem;
}

.m-com{
	margin: var(--gap);
}

.flex-1{
	flex: 1;
}

.icon-avatar-large {
	width: 7.0rem;
	height: 7.0rem;
}

.icon-small {
	width: 2.4rem;
	height: 2.4rem;
}

.icon-middle {
	width: 2.8rem;
	height: 2.8rem;
}

.round {
	border-radius: 50%;
}

.font-large {
	font-size: var(--font-size-large);
}

.font-primary {
	font-size: var(--font-size-primary);
}

.font-second {
	color: var(--color-second);
}

.font-third {
	color: var(--color-third);
}

.font-bold {
	font-weight: bold;
}

.font-price {
	color: red;
	font-size: var(--font-size-large);
	margin: 0 0.2rem;
	font-weight: bold;
}

.btn-primary {
	border-style: none;
	border-radius: calc(var(--gap) * 3);
	background: var(--primary);
	color: white;
	text-align: center;
	font-size: var(--font-size-primary);
	padding: var(--gap);
}

.btn-default{
	border-style: none;
	border-radius: calc(var(--gap) * 3);
	background: white;
	color: black;
	text-align: center;
	font-size: var(--font-size-primary);
	padding: 1rem var(--gap);
	border: 1px solid #ededed;
}

.btn-warn{
	border-style: none;
	border-radius: calc(var(--gap) * 3);
	background: red;
	color: white;
	text-align: center;
	font-size: var(--font-size-primary);
	padding: 1rem var(--gap);
}

.card {
	position: relative;
	background: white;
	margin: var(--gap);
	border-radius: var(--com-border-radius);
}

.menu-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	padding: var(--gap);
	border-top: 1px solid var(--bg-page);
}

.menu-item:first-child {
	border-top: 0px solid var(--bg-page);
}

.menu-item .label {
	color: black;
	flex: 1;
	display: flex;
	flex-direction: column;
	margin-left: var(--gap);
}

.space-between {
	justify-content: space-between;
}

.flex-center {
	align-items: center;
}

.badge {
	position: absolute;
	right: -5px;
	top: -5px;
	background: red;
	padding: 2px;
	color: white;
	z-index: 200;
	border-radius: 100px;
	font-size: 10px;
	min-width: 14px;
	height: 14px;
	line-height: 14px;
	text-align: center;
}

/*
* ############### loading start #################
*/
.loading_layout {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 18rem 2rem 0;
	padding: 1.5rem;
}

.state_img {
	width: 14rem;
	height: 14rem;
	display: none;
}

.state_text {
	font-size: 1.4rem;
	margin-top: 0.6rem;
	text-align: center;
	color: #333;
}

.spinner {
	margin: 0;
	width: 20rem;
	text-align: center;
}

.spinner>div {
	width: 1.6rem;
	height: 1.6rem;
	background-color: #6E308E;
	border-radius: 100%;
	display: inline-block;
	-webkit-animation: bouncedelay 1.4s infinite ease-in-out;
	animation: bouncedelay 1.4s infinite ease-in-out;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

.spinner .bounce1 {
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
	margin-right: 1.0rem;
}

.spinner .bounce2 {
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
	margin-right: 1.0rem;
}

@-webkit-keyframes bouncedelay {

	0%,
	80%,
	100% {
		-webkit-transform: scale(0.0)
	}

	40% {
		-webkit-transform: scale(1.0)
	}
}

@keyframes bouncedelay {

	0%,
	80%,
	100% {
		transform: scale(0.0);
		-webkit-transform: scale(0.0);
	}

	40% {
		transform: scale(1.0);
		-webkit-transform: scale(1.0);
	}
}

/*
* ############### loading end #################
*/
